home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Ultimate Frank Lloyd…ght - America's Architect
/
Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso
/
pre
/
flw
/
flwdef.dir
/
00201_Script_201
< prev
next >
Wrap
Text File
|
1994-11-15
|
3KB
|
130 lines
on startMovie
global nowFrame, dialogOn
global horNess, currMM
set dialogOn = FALSE
set currMM = "FLWWW"
puppetSprite 22, TRUE
puppetSprite 23, TRUE
puppetSprite 21, TRUE
set the immediate of sprite 23 to TRUE
set the stretch of sprite 23 to FALSE
puppetSprite 6, TRUE
repeat with i = 12 to 16
puppetSprite i, TRUE
end repeat
end startMovie
on stepMovie
global nowFrame,currFrame
if nowFrame <> currFrame then
seeAlsoList
set currFrame = nowFrame
end if
end stepMovie
on stopMovie
puppetSprite 21, FALSE
put " " into field "SeeAlsoText"
set the castNum of sprite 21 to 1050
updateStage
end stopMovie
on saveLocals
global lastFrame, nowFrame, lastMovie
set lastFrame = nowFrame
set lastMovie = "FLWDEF"
end saveLocals
on buttonState
global FrankNav, dialogOn
global bflag
if dialogOn = FALSE then
sectionCheck
-- don't check global buttons unless mouse is down at bottom
if (the mouseV > 200) or (bFlag = TRUE) then
doState
set bFlag = FALSE
end if
else if dialogOn = TRUE then
if the mouseDown then
if the mouseCast <> the number of cast "glossDialog" then
beep
end if
end if
end if
end buttonState
on deBackStep
global nowFrame
puppetSprite 6, FALSE
if nowFrame = "de000fur001°°°" then
go to frame "de000lig018°°°" of movie "FLWDEL"
else
go to (the frame - 1)
end if
end deBackStep
on deForStep
global nowFrame
puppetSprite 6, FALSE
if nowFrame = "de000fur067°°°" then
go to "de000sta002°°°" of movie "FLWDES"
else
go to (the frame + 1)
end if
end deForStep
on sectionCheck
global lastSprite, nowFrame, dialogOn
if dialogOn = FALSE then
if rollover(12) then
set the castNum of sprite 12 to A34
else
set the castNum of sprite 12 to A18
end if
if rollover(13) then
set the castNum of sprite 13 to A35
else
set the castNum of sprite 13 to A21
end if
if rollover(15) then
set the castNum of sprite 15 to A32
else
set the castNum of sprite 15 to A16
end if
if rollover(16) then
set the castNum of sprite 16 to A33
else
set the castNum of sprite 16 to A17
end if
end if
end sectionCheck
on textRoll txHt
global origLocV, topHat, dialogOn, seeAlsoBox
if dialogOn = FALSE and seeAlsoBox = FALSE then
set topHat = txHt + (the height of sprite 6 / 2)
if the width of sprite 6 > 300 then
if the mouseH > 229 and the mouseV > 363 and the mouseV < 431 then
set the locV of sprite 6 to topHat
else if (the mouseH > 610) or (the mouseH < 229) or (the mouseV > 431) or (the mouseV < txHt) then
set the locV of sprite 6 to 485
end if
else
if the mouseH > 414 and the mouseV > 363 and the mouseV < 431 then
set the locV of sprite 6 to topHat
else if the mouseH > 610 or the mouseH < 414 or the mouseV > 431 or the mouseV < txHt then
set the locV of sprite 6 to 549
end if
end if
end if
end textRoll